
<template>
    <div class="main-page">
        <div class="content-body">
          <router-view />
        </div>
        <div class="icp-box" @click="toIcp">
          <span>皖ICP备2025102409号</span>
          <span>皖ICP备2025102409号-1</span>
        </div>
    </div>
</template>
<script setup>
import { ref } from "vue";
const aa=ref(1)
// store挂载全局
import { useStore } from 'vuex'; 
window.$store = useStore();
const toIcp = () => {
  window.open('https://beian.miit.gov.cn/#/Integrated/index')
}
</script>
<style lang="less" scoped>
.main-page {
  background-color: #faf9ff;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  .content-body {
    flex: 1;
  }
  .icp-box {
    text-align: center;
    color: '#666';
    font-size: 11px;
    line-height: 22px;
    // background: #ccc;
    span {
      margin-left: 10px;
      &:first-child {
        margin-left: unset;
      }
    }
  }
}
</style>
